﻿@model IEnumerable<Qu.ComputingContest.Model.ScoreSummary>
     
<table class="stripe" width="100%" >
    <tr>
        <th width="73">
            Rank
        </th>
        <th width="73">
            Team
        </th>
        <th width="*">
           School
        </th>
        <th width="88">
           Trial#
        </th>
        <th width="120">
            Time
        </th>
        @*<th width="99">
            Runtime
        </th>*@
    </tr>

    @foreach (var item in Model) {
        <tr class="scoreDetails">
            <td>
                <b>@Html.DisplayFor(modelItem => item.Rank)</b>
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.TeamNo)
            </td>
            <td style="text-align: left;">
                @Html.DisplayFor(modelItem => item.School)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.TrialCount)
            </td>
            <td align="right">
                @*<b>@Html.Raw(String.Format("{0:0,0}", item.Score))</b>*@
                <b>@Html.Raw(String.Format("{0:0,0.00}", item.Score))</b>
            </td>
            @*<td align="right" width="99">
                 <b>@Html.Raw(String.Format("{0:0,0.00}", item.RunTime))</b>
            </td>*@
        </tr>
    }

</table>